<div class="navbar navbar-default navbar-fixed-top">
  <div class="container">
    <div class="collapse navbar-collapse" >
      <ul class="nav navbar-nav">
				<li><%= link_to "首页", root_path%></li>
				<li><%= link_to "创建活动", new_activity_path%></li>
				<li><%= link_to "已参加活动", joined_activities_path%></li>
				<li><%= link_to "我创建的活动", my_activities_path%></li>
      </ul>

			  <ul class="nav navbar-nav navbar-right">
					<li>
						<%=link_to destroy_user_session_path, method: :delete do%>
							<span class="glyphicon glyphicon-log-out"></span>
						<%end%>
				</li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</div>
